.adPosition {
    .bt-box {
        float: left;
    }
    .bt-search {
        float: right;
    }

    .search-box {
        .select-box {
            float: right;
            nz-select {
                width: 200px;
                margin: 0 8px;
            }
        }
        .date-box {
            float: right;
            nz-date-picker {
                width: 200px;
                margin: 0 8px 0 8px;
            }
        }
        .input1-box {
            float: right;
            margin: 0 8px 0 0;
            display: flex;
            nz-input {
                width: 200px;
            }
            nz-form-label {
                width: 90px;
                margin-right: 6px;
            }
        }
        .input-box {
            width: 200px;
            // margin: 0 8px 0 8px;
            display: flex;
            float: right;
            nz-form-label {
                margin-left: -45px;
            }
        }
    }
    &:after {
        content: " ";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
    }
}
main {
    margin-top: 10px;
    background: #fff;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    .pagination-box {
        height: 56px;
        line-height: 56px;
        padding: 0 18px;
        font-size: 12px;
        span {
            float: left;
        }
        .pagination-template {
            float: right;
        }
        &:after {
            content: " ";
            display: block;
            clear: both;
            height: 0;
            visibility: hidden;
        }
    }
}
nz-pagination {
    margin-top: 12px;
}

nz-table {
    th {
        height: 38px;
        padding: 0;
        color: #888;
        background: #fff !important;
        border-right: none !important;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
        position: relative;
        // &:nth-child(1) {
        //     width: 150px;
        // }
        // &:nth-child(2) {
        //     width: 150px;
        // }
        // &:nth-child(3) {
        //     width: 150px;
        // }
        // &:nth-child(12) {
        //     width: 150px;
        // }
        // &:nth-child(13) {
        //     width: 150px;
        // }
    }
    td {
        height: 56px;
        padding: 0;
        font-size: 12px;
        border-right: none !important;
        border-bottom: 1px solid rgb(229, 229, 229) !important;
        &.font1 {
            color: #008000;
        }
        &.font2 {
            color: #f00;
        }
        &.font0 {
            color: #999;
        }
    }
}
.ant-table-tbody > tr.ant-table-row:hover > td {
    background: #f2f2f2;
}

// 表格商品样式
.goodsName {
    img {
        width: 44px;
        height: 44px;
        margin-left: 12px;
        margin-top: 2px;
        float: left;
    }
    .goodsText {
        margin-top: 2px;
        margin-left: 6px;
        text-align: left;
        float: left;
        span {
            width: 236px;
            font-size: 14px;
            color: #1890ff;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            line-clamp: 1;
            -webkit-box-orient: vertical;
        }
    }
}
[nz-button] {
    margin-right: 8px;
}
[nz-button-tdlink] {
    margin-right: 6px;
    padding: 0;
}
